Skip to content

Knowledge row says when the bases last synced, and a stopped sync plainly - #479

Merged
nambok merged 1 commit into
mainfrom
knowledge-updated-from-syncs
Nov 24, 2026
Merged

nambok merged 1 commit into
mainfrom
knowledge-updated-from-syncs

Conversation

@nambok

@nambok nambok commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Knowledge row on the sources overview could show a date days old while a knowledge source had synced minutes before. The row showed the newest time a knowledge base's settings were edited. With the gateway change in coderhelm-platform, it now shows the newest successful sync or ready upload across the team's bases, and says "Last sync stopped 5 min ago" when a source's last sync stopped.

Changes

  • builtin-bases.ts: a base may carry stopped_at.
  • builtin.tsx: the row says "Last sync stopped ..." (amber dot) when stopped_at is set, otherwise "Live" or "Updated ...". The panel keeps both: "Updated 35 min ago. Last sync stopped 5 min ago". "Not read yet" no longer shows for a base whose only sync stopped.
  • Docs (concepts/knowledge.mdx): what each row's time means, and the stopped sync.

Verification

  • New Playwright test in knowledge-builtin.spec.ts: Knowledge reads "Updated 4 min ago" from the gateway's time; with a stopped sync, the row reads "Last sync stopped 5 min ago" and the panel "Updated 35 min ago. Last sync stopped 5 min ago". All 15 tests in the file pass against the static build.
  • npm run lint, npm run typecheck, npm run check:openapi, npm run build pass.

…inly

The Knowledge row on the sources overview showed the gateway's updated_at,
which was the newest time a base's settings were edited. The gateway now
sends the newest successful sync or ready upload, plus stopped_at when a
source's last sync stopped. The row says "Last sync stopped 5 min ago" then,
and the panel keeps when content last came in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant